package com.hunray.rent.service;

import java.util.List;

public interface IBaseService<T> {
	
	T saveOrUpdate(T t);
	
	T findOne(Integer id);
	
	List<T> findAll();
	
	void delete(Integer id);

}
